<!-- ./idFieldRender.vue 文件 -->
<template>
    <div>
        <!-- 自定义 -->
        <el-tag plain class="pointer" @click="router.push({ path: '/admin/placeOrder/oneShot', query: { user_id: renderRow.id } })" type="success">去下单</el-tag>
    </div>
</template>

<script setup lang="ts">
import { TableColumnCtx, ElInput } from 'element-plus'
import { reactive, ref, nextTick } from 'vue';
import { agencyFee } from '/@/api/backend/user/user'
import router from '/@/router'
// 自定义

const inputRef = ref()

// BuildAdmin将自动为此组件传递五个Props
interface Props {
    renderValue: any // 单元格值
    renderRow: TableRow // 当前行数据
    renderField: TableColumn // 当前列数据
    renderColumn: TableColumnCtx<TableRow> // 当前列上下文数据
    renderIndex: number // 当前行号
}
const props = defineProps<Props>()

</script>

<style scoped lang="scss">
// 自定义
.pointer{
    cursor: pointer;
    user-select: none;
}
.agency-fee-input{
    width: 150px;
}
</style>